<style type="text/css">
     .layui-table-cell{
         height: auto!important;
         white-space: normal;
     }
</style>
<div class="layui-tab layui-tab-brief layui-tab-brief-city" style="padding: 0px;border: none;margin-top: 0px;">
  <ul class="layui-tab-title">
    <li class="layui-this">基础设置</li>
    <li>属性设置</li>
  </ul>
  <div class="layui-tab-content" >
    <div class="layui-tab-item layui-show">
		<form id="modelBizModelFeatureForm" lay-filter="modelBizModelFeatureForm" class="layui-form model-form" style="padding:5px;">
		<input  name="id"  type="hidden" class="layui-input" value="#(feature?feature.id:'')">
		<table class="formTable">
			<tr>
				<td>名称</td>
				<td colspan="2">
		          	<input  name="name"   type="text" class="layui-input" value="#(feature?feature.name:'')" />
		        </td>
			</tr>
			<tr>
				<td>标识</td>
				<td colspan="2">
		          	<input  name="code"   type="text" class="layui-input" value="#(feature?feature.code:'')" />
		        </td>
			</tr>	
			<tr>
				<td>经度</td>
				<td colspan="2">
		          	<input id="positionForModelFeatureX" name="x"  readonly="readonly"  type="number" class="layui-input" value="#(feature?feature.x:0)" />
		        </td>
			</tr>
			<tr>
				<td>维度</td>
				<td colspan="2">
		          	<input id="positionForModelFeatureY" name="y" readonly="readonly"  type="number" class="layui-input" value="#(feature?feature.y:0)" />
		        </td>
			</tr>
			<tr>
				<td>高度</td>
				<td colspan="2">
		          	<input id="positionForModelFeatureZ" name="z"   type="number" class="layui-input" value="#(feature?feature.z:0)" />
		        </td>
			</tr>
			<tr>
				<td>尺寸X</td>
				<td colspan="2">
		          	<input id="dimensionsForModelFeatureX" name="dimensionsX"   type="number" class="layui-input" value="#(feature?feature.dimensionsX:0)" />
		        </td>
			</tr>
			<tr>
				<td>尺寸Y</td>
				<td colspan="2">
		          	<input id="dimensionsForModelFeatureY" name="dimensionsY"   type="number" class="layui-input" value="#(feature?feature.dimensionsY:0)" />
		        </td>
			</tr>
			<tr>
				<td>尺寸Z</td>
				<td colspan="2">
		          	<input id="dimensionsForModelFeatureZ" name="dimensionsZ"   type="number" class="layui-input" value="#(feature?feature.dimensionsZ:0)" />
		        </td>
			</tr>		
			<tr>
				<td>长显示</td>
				<td colspan="2" style="text-align: left;">
			      <select id="modelFeatureForIsView" name="isView" lay-filter="isView"  lay-verify="required" required>
			        <option value="0" #if(feature && feature.isView=='0')  selected #end>否</option>
			        <option value="1" #if(feature && feature.isView=='1')  selected #end>是</option>
			      </select>
		        </td>
			</tr>
			<tr>
				<td>默认颜色</td>
				<td colspan="2">
					<div id="modelFeatureNormalColorForDiv"></div>
		          	<input id="modelFeatureNormalColor" name="normalColor"   type="hidden" class="layui-input" value="#(feature?feature.normalColor:'')" />
		        </td>
			</tr>	
			<tr>
				<td>悬浮颜色</td>
				<td colspan="2">
				    <div id="modelFeatureHoverColorForDiv"></div>
		          	<input id="modelFeatureHoverColor" name="hoverColor"   type="hidden" class="layui-input" value="#(feature?feature.hoverColor:'')" />
		        </td>
			</tr>	
			<tr>
				<td>旋转X</td>
				<td colspan="2" style="padding-left: 15px;">
					<div id="rotateForModelFeatureX-slide" class="demo-slider"></div>
					<input id="rotateForModelFeatureX-input" name="rotationX"   type="hidden" class="layui-input" value="#(feature?feature.rotationX:0)">
		        </td>
			</tr>
			<tr>
				<td>旋转Y</td>
				<td colspan="2" style="padding-left: 15px;">
					<div id="rotateForModelFeatureY-slide" class="demo-slider"></div>
					<input id="rotateForModelFeatureY-input" name="rotationY"   type="hidden" class="layui-input" value="#(feature?feature.rotationY:0)">
		        </td>
			</tr>
			<tr>
				<td>旋转Z</td>
				<td colspan="2" style="padding-left: 15px;">
					<div id="rotateForModelFeatureZ-slide" class="demo-slider"></div>
					<input id="rotateForModelFeatureZ-input" name="rotationZ"   type="hidden" class="layui-input" value="#(feature?feature.rotationZ:0)">			
		        </td>
			</tr>
			<tr>
				<td>序号</td>
				<td colspan="2">
		          	<input  name="sort"   type="number" class="layui-input" value="#(feature?feature.sort:0)" />
		        </td>
			</tr>	
			<tr>
				<td colspan="3" style="text-align: right;">
				  <button class="layui-btn layui-btn-sm " id="modelBizModelFeatureCopy" >复制</button>
				  <button class="layui-btn layui-btn-sm " id="modelBizModelFeatureTranslation" >平移</button>
		          <button class="layui-btn layui-btn-sm " lay-filter="modelBizModelFeatureSubmit" lay-submit>保存</button>
				</td>
			</tr>		
		</table>  
		</form>   
    </div>
    <div class="layui-tab-item">
    </div>
  </div>
</div>

<script type="text/html" id="modelCopyFeatureScript">
    <div class="layui-card" style="background: none;">
        <div class="layui-card-body">
			<form id="modelCopyFeatureForm" lay-filter="modelCopyFeatureForm" class="layui-form model-form" style="padding: 1px;">
				<table class="formTable">
					<tr>
						<td>间隔</td>
						<td colspan="4">
			               	<input name="interval"  placeholder="请输入间隔" value="" type="number" class="layui-input" lay-verType="tips" lay-verify="required" required/>
			            </td>              
					</tr>
					<tr>
						<td>递增</td>
						<td colspan="4">
			               	<input name="incremental"  placeholder="请输入递增" value="" type="number" class="layui-input" lay-verType="tips" lay-verify="required" required/>
			            </td>              
					</tr>
					<tr>
						<td>递减</td>
						<td colspan="4">
			               	<input name="decreasing"  placeholder="请输入递增" value="" type="number" class="layui-input" lay-verType="tips" lay-verify="required" required/>
			            </td>              
					</tr>
					<tr>
						<td colspan="5" style="text-align:right;"> 
							<button class="layui-btn  layui-btn-sm " lay-filter="modelSubmitCopyFeatureForm" lay-submit>确定</button>
						</td>
					</tr>
				</table>
			</form> 
		</div>
	</div>
</script>
